---
title: ClickUp Tools
---

## Code

```python cookbook/tools/clickup_tools.py
from agno.agent import Agent
from agno.tools.clickup import ClickUpTools

agent = Agent(
    instructions=[
        "You are a ClickUp project management assistant",
        "Help users manage their tasks, projects, and workspaces",
        "Create, update, and organize tasks efficiently",
    ],
    tools=[ClickUpTools()],
    markdown=True,
)

agent.print_response("Create a new task called 'Review documentation' and list all current tasks")
```

## Usage

<Steps>
  <Snippet file="create-venv-step.mdx" />

  <Step title="Set your API keys">
    ```bash
    export CLICKUP_API_KEY=your-clickup-api-key
    export MASTER_SPACE_ID=your-space-id
    export OPENAI_API_KEY=xxx
    ```
  </Step>

  <Step title="Install libraries">
    ```bash
    pip install -U requests openai agno
    ```
  </Step>

  <Step title="Run Agent">
    <CodeGroup>
    ```bash Mac
    python cookbook/tools/clickup_tools.py
    ```

    ```bash Windows
    python cookbook/tools/clickup_tools.py
    ```
    </CodeGroup>
  </Step>
</Steps>
